<template>
  <div class="loading">
    <div class="borderStyle">
      <div class="top">
        <div class="weizhi">
          <div class="move" ref='move'>
             <img src="../../static/image/chongzi.png" alt="">
          </div>
          <div class="qi">
            <img src="../../static/image/qi.png" alt="">
          </div>
          <div class="choangzi">
           
          </div>
        </div>
      </div>

      <div class="fontStyle">
         <img :src="'./static/image/'+img[status]" alt="">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      status: parseInt(u.getStore("status")),
      img: ["nohuodong.png", "bdFont.png", "", "end.png"]
    };
  }
};
</script>

<style lang="less" scoped>
.loading {
  // width: 100%;
  // height: 100vh;
  // background: url("../../static/image/loading.jpg") center center;
  // background-size: cover;
  // position: relative;
  .borderStyle {
    width: 646px;
    height: 200px;
    // border: 1px solid #000;
    padding-top: 40px;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    .top {
      margin-bottom: 69px;
      .weizhi{
        height: 16px;
         background: url("../../static/image/bdBorder.png") no-repeat;
        position: relative;
        .move {
          position: absolute;
          // border: 1px solid #000;
          height: 14px;
          // line-height: 14px;
          background: url(../../static/image/move.png) no-repeat center;
          background-size: 100% 100%;
          width: 380px;
          height: 14px;
          text-align: right;
          transition: width 5s;
          img {
            // height: 14px;
            // width: 30px;
            position: relative;
            top: -300%;
          }
        }
        .qi {
          position: absolute;
          left: 631px;
          top: -33px;
        }
        .choangzi {
          position: absolute;
          top: -35px;
        }
      }
    }

    .fontStyle {
      text-align: center;
    }
  }
}
</style>

